package dataLayer.businessObjects;

import businessObjects.IEmailKontakt;

public class EmailKontakt implements IEmailKontakt{
	private int id;
	private String vorname;
	private String nachname;
	private String email;
	
	/**
	 * Set the ID of the Emailkontakt
	 * @param id
	 */
	public void setId(int id){
		this.id = id;
	}
	
	/**
	 * returns ID of Emailkontakt
	 */
	@Override
	public int getId() {
		return id;
	}

	/**
	 * returns Vorname of Emailkontakt
	 */
	@Override
	public String getVorname() {
		return vorname;
	}

	/**
	 * Set vorname of Emailkontakt
	 */
	@Override
	public void setVorname(String vorname) {
		this.vorname = vorname;
	}
	/**
	 * returns Nachname of Emailkontakt
	 */
	@Override
	public String getNachname() {
		return nachname;
	}
	/**
	 * Set Nachname of Emailkontakt
	 */
	@Override
	public void setNachname(String nachname) {
		this.nachname = nachname;
	}
	/**
	 * returns Emailadress of Emailkontakt
	 */
	@Override
	public String getEmail() {
		return email;
	}
	/**
	 * Set Emailadress of Emailkontakt
	 */
	@Override
	public void setEmail(String email) {
		this.email = email;
	}

}
